// css 初始化
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li {
  list-style: none;
}

/* 声明字体*/
@font-face {
  font-family: electronicFont;
  src: url(../font/DS-DIGIT.TTF);
}

body {
  width: 100vw;
  background: url(../images/bg_b.png) no-repeat;
  background-size: cover;
  background-position: center center;
  line-height: 1.15;
  background-attachment: fixed;
  transition: background-image .5s ease;
}

header {
  position: relative;
  height: 1.25rem;
  background: url(../images/head_bg.png) no-repeat;
  background-size: 100% 100%;

  h1 {
    font-size: 0.475rem;
    color: #fff;
    text-align: center;
    line-height: 1rem;
  }

  button {
    position: absolute;
    left: 0.5rem;
    top: 15%;
    // line-height: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.25rem;
    background: rgba(50, 50, 50, 0.3);
    height: 40%;
    border: 1px solid rgba(112, 110, 110, 0.1);
    border-radius: .15rem;
    width: 1.5rem;
  }

  .showTime {
    position: absolute;
    right: 0.5rem;
    top: 0;
    line-height: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.25rem;
  }
}

// 页面主体盒子
.mainbox {
  display: flex;
  min-width: 1024px;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0.125rem 0.125rem 0;

  .column {

    flex: 3;
  }

  .column:nth-child(2) {
    flex: 5;
    margin: 0 0.125rem 0.1875rem;
    overflow: hidden;
  }

  .panel {
    overflow: hidden;
    position: relative;
    height: 3.875rem;
    padding: 0 0.1875rem 0.5rem;
    border: 1px solid rgba(25, 186, 139, 0.17);
    margin-bottom: 0.1875rem;
    background: url(../images/line\(1\).png) rgba(255, 255, 255, 0.03);

    &::before {
      position: absolute;
      top: 0;
      left: 0;
      width: 10px;
      height: 10px;
      border-left: 2px solid #02a6b5;
      border-top: 2px solid #02a6b5;
      content: "";
    }

    &::after {
      position: absolute;
      top: 0;
      right: 0;
      width: 10px;
      height: 10px;
      border-right: 2px solid #02a6b5;
      border-top: 2px solid #02a6b5;
      content: "";
    }

    .panel-footer {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;

      &::before {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 10px;
        height: 10px;
        border-left: 2px solid #02a6b5;
        border-bottom: 2px solid #02a6b5;
        content: "";
      }

      &::after {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 10px;
        height: 10px;
        border-right: 2px solid #02a6b5;
        border-bottom: 2px solid #02a6b5;
        content: "";
      }
    }

    h2 {

      height: 0.6rem;
      color: #fff;
      line-height: 0.6rem;
      text-align: center;
      font-size: 0.25rem;
      font-weight: 400;

      a {
        color: #fff;
        text-decoration: none;
        margin: 0 0.125rem;
      }
    }

    .chart {
      height: 3rem;
    }
  }
}

// no数字模块
.no {
  background: rgba(101, 132, 226, 0.1);
  padding: 0.1875rem;

  .no-hd {
    position: relative;
    border: 1px solid rgba(25, 186, 139, 0.17);

    &::before {
      position: absolute;
      top: 0;
      left: 0;
      content: "";
      width: 30px;
      height: 10px;
      border-top: 2px solid #02a6b5;
      border-left: 2px solid #02a6b5;
    }

    &::after {
      position: absolute;
      bottom: 0;
      right: 0;
      content: "";
      width: 30px;
      height: 10px;
      border-right: 2px solid #02a6b5;
      border-bottom: 2px solid #02a6b5;
    }

    ul {
      display: flex;

      li {
        position: relative;
        flex: 1;
        line-height: 1rem;
        font-size: 0.375rem;
        color: #ffeb7b;
        text-align: center;
        font-family: "electronicFont";

        &::after {
          content: "";
          position: absolute;
          top: 25%;
          right: 0;
          height: 50%;
          width: 1px;
          background: rgba(255, 255, 255, 0.2);
        }
      }

      .dashboard {
        color: #ffeb7b;
        line-height: 2rem;
        height: 2rem;
      }
    }
  }

  .no-bd {
    ul {
      display: flex;

      li {
        flex: 1;
        text-align: center;
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.25rem;
        height: 0.5rem;
        line-height: 0.5rem;
        padding-top: 0.125rem;
      }
    }
  }
}

.no_gdp {
  display: none;
}

.map {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  position: relative;
  height: 9.3rem;
  // opacity: 0.3;
  // background-color: #fff;
  margin-top: 0.5rem;

  .map_con {
    position: relative;
    height: 5rem;
    width: 100%;

    .map_con_cir:nth-child(1) {
      position: absolute;
      top: 0.5rem;
      left: 2rem;
    }

    .map_con_cir:nth-child(2) {
      position: absolute;
      top: 2rem;
      left: 4.5rem;
    }

    .map_con_cir:nth-child(3) {
      position: absolute;
      top: 1.5rem;
      left: 8.5rem;
    }

    .map_con_cir:nth-child(4) {
      position: absolute;
      top: 3.5rem;
      left: 6.5rem;
    }

    .map_con_cir {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      color: rgba(249, 249, 249, 0.8);
      font-family: serif;
      font-size: 12px;
      font-weight: bold;
      background: -webkit-radial-gradient(center, #487fad4d 0%, rgba(32, 255, 77, 0) 75%), -webkit-repeating-radial-gradient(rgba(32, 255, 77, 0) 5.8%, rgba(32, 255, 77, 0) 18%, #ccc 18.6%, rgba(32, 255, 77, 0) 18.9%), -webkit-linear-gradient(90deg, rgba(32, 255, 77, 0) 49.5%, #ccc 50%, #ccc 50%, rgba(32, 255, 77, 0) 50.2%), -webkit-linear-gradient(0deg, rgba(32, 255, 77, 0) 49.5%, #ccc 50%, #ccc 50%, rgba(32, 255, 77, 0) 50.2%);
      background: radial-gradient(center, #6cb9d54d 0%, rgba(32, 255, 77, 0) 75%), repeating-radial-gradient(rgba(32, 255, 77, 0) 5.8%, rgba(32, 255, 77, 0) 18%, #ccc 18.6%, rgba(32, 255, 77, 0) 18.9%), linear-gradient(90deg, rgba(32, 255, 77, 0) 49.5%, #ccc 50%, #ccc 50%, rgba(32, 255, 77, 0) 50.2%), linear-gradient(0deg, rgba(32, 255, 77, 0) 49.5%, #ccc 50%, #ccc 50%, rgba(32, 255, 77, 0) 50.2%);
      width: 75px;
      height: 75px;
      position: relative;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      border-radius: 50%;
      border: 3px solid #6caad7;
      box-shadow: 1px 1px 15px #98c1ef;
      overflow: hidden;
      background-color: rgba(112, 112, 112, 0.3);
    }

    .map_con_cir:before {
      content: ' ';
      display: block;
      position: absolute;
      width: 100%;
      height: 100%;
      border-radius: 50%;
      animation: bei 5s infinite;
      animation-timing-function: linear;
      animation-delay: 1.4s;
    }

    .map_con_cir:after {
      content: ' ';
      display: block;
      background-image: linear-gradient(44deg, rgba(0, 255, 51, 0) 50%, #00abbb 100%);
      width: 50%;
      height: 50%;
      position: absolute;
      top: 0;
      left: 0;
      animation: zhuan 5s infinite;
      animation-timing-function: linear;
      transform-origin: bottom right;
      border-radius: 100% 0 0 0;
    }

    @keyframes zhuan {
      0% {
        transform: rotate(0deg);
      }

      100% {
        transform: rotate(360deg);
      }
    }

    @keyframes bei {
      14% {
        background: radial-gradient(1vmin circle at 75% 70%, #ffffff 10%, #ccc 30%, rgba(255, 255, 255, 0) 100%);
      }

      14.0002% {
        background: radial-gradient(1vmin circle at 75% 70%, #ffffff 10%, #ccc 30%, rgba(255, 255, 255, 0) 100%), radial-gradient(1vmin circle at 63% 72%, #ffffff 10%, #ccc 30%, rgba(255, 255, 255, 0) 100%);
      }

      25% {
        background: radial-gradient(1vmin circle at 75% 70%, #ffffff 10%, #ccc 30%, rgba(255, 255, 255, 0) 100%), radial-gradient(1vmin circle at 63% 72%, #ffffff 10%, #ccc 30%, rgba(255, 255, 255, 0) 100%), radial-gradient(1vmin circle at 56% 86%, #ffffff 10%, #ccc 30%, rgba(255, 255, 255, 0) 100%);
      }

      26% {
        background: radial-gradient(1vmin circle at 75% 70%, #ffffff 10%, #ccc 30%, rgba(255, 255, 255, 0) 100%), radial-gradient(1vmin circle at 63% 72%, #ffffff 10%, #ccc 30%, rgba(255, 255, 255, 0) 100%), radial-gradient(1vmin circle at 56% 86%, #ffffff 10%, #ccc 30%, rgba(255, 255, 255, 0) 100%);
        opacity: 1;
      }

      100% {
        background: radial-gradient(1vmin circle at 75% 70%, #ffffff 10%, #ccc 30%, rgba(255, 255, 255, 0) 100%), radial-gradient(1vmin circle at 63% 72%, #ffffff 10%, #ccc 30%, rgba(255, 255, 255, 0) 100%), radial-gradient(1vmin circle at 56% 86%, #ffffff 10%, #ccc 30%, rgba(255, 255, 255, 0) 100%);
        opacity: 0;
      }
    }
  }

  .map_chart {
    height: 4.2rem;
    width: 100%;
    background-color: #000000;
    overflow: hidden;
    position: relative;
    height: 3.875rem;
    padding: 0 0.1875rem 0.5rem;
    border: 1px solid rgba(25, 186, 139, 0.17);
    margin-bottom: 0.1875rem;
    background: url(../images/line\(1\).png) rgba(175, 174, 174, 0.1);

    &::before {
      position: absolute;
      top: 0;
      left: 0;
      width: 10px;
      height: 10px;
      border-left: 2px solid #02a6b5;
      border-top: 2px solid #02a6b5;
      content: "";
    }

    &::after {
      position: absolute;
      top: 0;
      right: 0;
      width: 10px;
      height: 10px;
      border-right: 2px solid #02a6b5;
      border-top: 2px solid #02a6b5;
      content: "";
    }

    h2 {

      height: 0.6rem;
      color: #fff;
      line-height: 0.6rem;
      text-align: center;
      font-size: 0.25rem;
      font-weight: 400;

      a {
        color: #fff;
        text-decoration: none;
        margin: 0 0.125rem;
      }

    }

    .chart {
      height: 3.2rem;
      width: 100%;
      // background-color: rgba(233, 232, 232, 0.9);
      border-radius: 10px;
      background-image: url(./../images/ch.png);
      background-size: cover;
      background-position: center center;
      box-shadow: 1px 1px 5px #2f2e2e;
    }
  }

  /* 约束屏幕尺寸 */
  @media screen and (max-width: 1024px) {
    html {
      font-size: 42px !important;
    }
  }

  @media screen and (min-width: 1920px) {
    html {
      font-size: 80px !important;
    }
  }
}

// world模块
.world {
  ul {
    cursor: pointer;
    display: flex;
    justify-content: space-around;
    align-items: center;

    li:hover {
      transition: .3s;
    }

    .world_current {
      color: #619de7;
      transition: .3s;
    }

  }

  .chart {
    display: none;
  }

  .world_chart_current {
    display: block;
  }
}

//产业模块
.money {
  ul {
    cursor: pointer;
    display: flex;
    justify-content: space-around;
    align-items: center;

    li:hover {
      transition: .3s;
    }

    .money_current {
      color: #619de7;
      transition: .3s;
    }

  }

  .chart {
    display: none;
  }

  .money_chart_current {
    display: block;
  }
}